//
//  TabModel.h
//  AffectionBee
//
//  Created by 程建良 on 16/8/20.
//  Copyright © 2016年 chivalrous. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TabModel : NSObject
//类名
@property(nonatomic,copy)NSString*name;
//分类id
@property(nonatomic,copy)NSString*Id;
//产品数组
@property(nonatomic,copy)NSArray*products;

-(instancetype)initWithDict:(NSDictionary*)dict;
+(instancetype)tabModelWithDict:(NSDictionary*)dict;
+(void)modelListWithUrlStr:(NSString*)urlstr parameters:(NSDictionary *)parameters SuccessBlock:(void(^)(NSArray<TabModel*>*))success failure:(void (^)(NSError *))failure;
@end
